package org.example.User;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;

public class User{

    //用户ID
    private int userId;
    //用户名称
    private String userName;
    //用户密码
    private String userPassword;


    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserPassword() {
        return userPassword;
    }

    public void setUserPassword(String userPassword) {
        this.userPassword = userPassword;
    }

    @Override
    public String toString() {
        return "user_id:"+getUserId()+"\n"+"user_name:"+getUserName()+"\n";
    }
}
